﻿using M.AuditField;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M_Purchase.Domain
{
    /// <summary>
    /// 物流公司
    /// </summary>
    [Table("Logistics")]
    public class Logistics: AuditFields
    {
        /// <summary>
        /// 物流公司ID
        /// </summary>
        [Key]
        public int LogisticsId {  get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string? LogisticsCode {  get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PayTime { get; set; }
        /// <summary>
        /// 物流状态
        /// </summary>
        public string? Sarte { get; set; }
        /// <summary>
        /// 预计到达时间
        /// </summary>
        public DateTime? endDate { get; set; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public DateTime? sendDate { get; set; }
        /// <summary>
        /// 物流名称
        /// </summary>
        public string? LogisticsName { get; set; }
        /// <summary>
        /// 配送时间
        /// </summary>
        public DateTime? DeliveryDate { get; set; }
        /// <summary>
        /// 供货商ID
        /// </summary>
        public int? SupplierID {  get; set; }
        /// <summary>
        /// 采购管理ID
        /// </summary>

        public int? PurchaseID { get; set; }

    }
}
